package cn.tedu.rms.statement.service.impl;

import cn.tedu.rms.statement.mapper.StatementMapper;
import cn.tedu.rms.statement.pojo.dto.StatementQuery;
import cn.tedu.rms.statement.pojo.vo.StatementVO;
import cn.tedu.rms.statement.service.StatementService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class StatementServiceImpl implements StatementService {

    @Autowired
    StatementMapper statementMapper;
    @Override
    public List<StatementVO> selectByBranchId(StatementQuery statementQuery) {
        log.debug("查询营业额业务,statementQuery:{}",statementQuery);
        List<StatementVO> list=statementMapper.selectByBranchId(statementQuery);
        return list;
    }
}
